package com.Exception;

/**
 * Created by 李文旭 on 2018/9/15.
 */

public class ConnectException extends Exception {
    public int ret;
    public ConnectException(){
        super();
    }
    public ConnectException(String message,int ret){
        super(message);
        this.ret=ret;
    }
    public ConnectException(String message, Throwable cause){

        super(message,cause);
    }

    //用指定原因构造一个新的异常
    public ConnectException(Throwable cause) {

        super(cause);
    }

}
